﻿using RearLivestock.Common.Domains.Common;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RearLivestock.Common.Domains.hq
{
    /// <summary>
    /// 栋舍管理
    /// </summary>
    public class Bedrooms : BaseEntity
    {
        /// <summary>
        /// 栋舍id
        /// </summary>
        [Key]
        public int BedroomId { get; set; }
        /// <summary>
        /// 栋舍类型id
        /// </summary>
        public int BedroomTypeId { get; set; }
        /// <summary>
        /// 栋舍名称
        /// </summary>
        [StringLength(50)]
        public string BedroomName { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        [StringLength(50)]
        public string PersonName { get; set; }
        /// <summary>
        /// 生产人员
        /// </summary>
        [StringLength(50)]
        public string ProduceName { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int State { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [StringLength(200)]
        public string Notes { get; set; }

    }
}
